package cn.iune.erp.accounting;

import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IAccountVoucherDao {

	public void insert(AccountVoucher a);
	
	public AccountVoucher update(AccountVoucher a);

	public void delete(String fID);

	public AccountVoucher getByID(String fID);
	
	public List<AccountVoucher> getAll();

	JSONObject query(JSONObject data) throws SQLException;

	AccountVoucher getByNo(String voucherNo, String enterpriseNo);

	JSONObject create(JSONObject data);

	



}
